package com.cgbl.cg.adapter

import android.content.res.ColorStateList
import android.graphics.Color
import android.widget.ImageView
import androidx.core.widget.ImageViewCompat
import com.blankj.utilcode.util.ColorUtils
import com.blankj.utilcode.util.SpanUtils
import com.cgbl.cg.R
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.robot.base.model.CourseInfoFileBean
import com.robot.base.utils.pic.ImageLoaderUtils

class CourseAdvertAdapter :
    BaseQuickAdapter<CourseInfoFileBean, BaseViewHolder>(R.layout.app_item_advert_img) {


    override fun convert(holder: BaseViewHolder, item: CourseInfoFileBean) {
        ImageLoaderUtils.displayRound(context, holder.getView(R.id.iv_img), item.filePath, 10)
    }
}